package com.phone.store.service;

import com.phone.store.form.AddressForm;
import com.phone.store.vo.AddressVO;

import java.util.List;

/**
 * @author fangyu
 * @version v1.0.0
 * @date 2020/7/31 9:46 下午
 */
public interface AddressService {

    /**
     * 查找所有的地址
     * @return List<AddressVO>
     */
    List<AddressVO> findAll();

    /**
     * 存储或更新地址
     * @param addressForm 地址表单
     */
    void saveOrUpdateAddress(AddressForm addressForm);
}
